package com.rpcLearning.transport;

import java.io.InputStream;
import java.io.OutputStream;

/**
 * @author:zyh
 * @Time:2021-03-17-18:20
 * @email:1269231889@qq.com
 *  处理网络请求，由子类自己选择实现
 */
public interface RequestHandler {
    void onRequest(InputStream rec, OutputStream out);
}
